-- card: 4791 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2764 -- name: -- part contents for background part 17 ----- text ----- SubStr -- part contents for background part 18 ----- text ----- Jon Wind -- part contents for background part 19 ----- text ----- XFCN -- part contents for background part 20 ----- text ----- SubStr("string",startPosition,numberOfChars) -- part contents for background part 21 ----- text ----- Use this to get only a portion of a string at a time. Handy if you need to look at one character at a time within a string. This is eqivalent to Pascal's Copy function and BASIC's MID$. -- part contents for background part 23 ----- text ----- put substr("Mike Gleason",1,4) into firstname repeat with x=1 to length of firstname put substr(firstname,x,1) into char if char="i" then play "Harpsichord" end repeat